<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>产品详细页|团购网</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="img/tuangou.ico" />
		<link rel="stylesheet" href="css/swiper.css">
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/detail.css"/>
	</head>
	<body>
		<!-- 头部s -->
		<header class="clearfix">
			<div class="back fl"><a href="https://wei8ba.gitee.io/shop/homepage.html">Back</a></div>
			<div class="star fr">
				<img src="img/star.png" />
			</div>
			<div class="title">产品详细</div>
		</header>
		<!-- 头部e -->
		
		<!-- 主体s -->
		<section>
			<!-- 图片部分 -->
			<div class="swiper-container">
				<div class="swiper-wrapper">
					<div class="swiper-slide"><img src="img/kv-detail.jpg"/></div>
                    <div class="swiper-slide"><img src="img/kv-detail.jpg"/></div>
                    <div class="swiper-slide"><img src="img/kv-detail.jpg"/></div>
               </div>
            </div>
			<!-- 信息部分 -->
			<div class="message">
				<div class="money clearfix">￥32<a class="fr" href="">购买</a></div>
				<div class="comments clearfix">
					<div class="fr">共605个评价></div>
					<p><img src="img/star.png"/>好评度<span>99%</span></p>
				</div>
			</div>
			<!-- 商店部分 -->
			<div class="shop">
				<div class="title clearfix">
					<span class="fr">></span>
					适用商户
				</div>
				<div class="detail clearfix">
					<div class="img-box fl">
						<img src="img/zhengjia.jpg"/>
						<div class="place">正佳店</div>
					</div>
					<div class="word fl">
						<a class="come">进入</a>
						<p class="head">万岁寿司（正佳店）</p>
						<p class="img">
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<span class="ten">10分</span>
						</p>
						<p class="close">离你最近</p>
						<p class="check">查看详情>></p>
					</div>
				</div>
				
				<div class="detail clearfix">
					<div class="img-box fl">
						<img src="img/sport-west.jpg"/>
						<div class="place">体育西店</div>
					</div>
					<div class="word fl">
						<a class="come">进入</a>
						<p class="head">万岁寿司（体育西店）</p>
						<p class="img">
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<span class="ten">10分</span>
						</p>
						<p class="close">离你最近</p>
						<p class="check">查看详情>></p>
					</div>
				</div>
				
				<div class="detail clearfix">
					<div class="img-box fl">
						<img src="img/changgang.jpg"/>
						<div class="place">昌岗店</div>
					</div>
					<div class="word fl">
						<a class="come">进入</a>
						<p class="head">万岁寿司（昌岗店）</p>
						<p class="img">
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<img src="img/star.png"/>
							<span class="ten">10分</span>
						</p>
						<p class="close">离你最近</p>
						<p class="check">查看详情>></p>
					</div>
				</div>
			</div>
		</section>
		<!-- 主体e -->
		
		<!-- 尾部s -->
		<footer>
			<a class="foot" href="https://wei8ba.gitee.io/shop/homepage.html">
				<img class="homepage" src="img/homepage.png"/>
				<p>首页</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/classification.html">
				<img class="classification" src="img/classification.png"/>
				<p>分类</p>
			</a>
			<a class="foot" href="https://wei8ba.gitee.io/shop/found.html">
				<img class="found" src="img/found.png"/>
				<p>发现</p>
			</div>
			<a class="foot" href="https://wei8ba.gitee.io/shop/my.html">
				<img class="my" src="img/my.png"/>
				<p>我的</p>
			</a>
		</footer>
		<!-- 尾部e -->
		
		<!-- 脚本 -->
		<script type="text/javascript">
			document.body.style.height = window.innerHeight + "px";
    
    /*动态改变根元素字体大小*/
    function recalc() {
    	//获取客户端宽度
        var clientWidth = document.documentElement.clientWidth;
        if(!clientWidth) return;
        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
        
    }

    function initRecalc() {
        recalc();
        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
        if(!document.addEventListener) return;
        window.addEventListener(resizeEvt, recalc, false);
        document.addEventListener('DOMContentLoaded', recalc, false);
    }
        initRecalc();

		</script>
		<script src="js/swiper.js"></script>
		<script>
			var mySwiper = new Swiper('.swiper-container',{
				 direction: 'horizontal',// 水平切换选项
				 loop: true,              //是否需要循环
				 autoplay:true,          //自动轮播
			})	
		</script>
	</body>
</html>
